package com.mjk.bee3sba;

import com.mjk.common.web.getway.annotation.EnableGetWay;
import com.mjk.common.web.getway.transfer.GetwayTransferType;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@EnableGetWay(basePackages = {"com.mjk"}, transferType = GetwayTransferType.HTTP)
@SpringBootApplication(scanBasePackages = {"com.mjk"}, exclude = {DataSourceAutoConfiguration.class})
@EnableTransactionManagement
@EnableAspectJAutoProxy
@EnableAdminServer
@EnableRedisRepositories(basePackages = "com.mjk")
public class Bee3SbaApplication {

    public static void main(String[] args) {
        SpringApplication.run(Bee3SbaApplication.class, args);
    }

}
